﻿@model DevWeb.Biztalk.DeploymentSettings.WebUI.Models.IntegrationVersionSettingsViewModel

@{
    ViewBag.Title = "Create new Parameter";
}

<h2>Create a new Parameter</h2>

@using (Html.BeginForm("Create", "IntegrationVersionSetting", FormMethod.Post, new { @class = "form-horizontal" }))
{
    @Html.ValidationSummary(true)

<fieldset>
 
    @Html.HiddenFor(model => model.ProductId)
    @Html.HiddenFor(model => model.IntegrationName)
    @Html.HiddenFor(model => model.Version)
    @Html.HiddenFor(model => model.IntegrationVersionID)



    <div class="form-group">
        @Html.LabelFor(model => model.IntegrationName, new { @class = "col-md-1 control-label" })
        <div class="col-md-10">
            @Html.DisplayFor(model => model.IntegrationName, new { @class = "form-control" })

        </div>
    </div>

    <div class="form-group">
        @Html.LabelFor(model => model.Version, new { @class = "col-md-1 control-label" })
        <div class="col-md-10">
            @Html.DisplayFor(model => model.Version, new { @class = "form-control" })

        </div>
    </div>

    <div class="form-group">
        @Html.LabelFor(model => model.CreatedDateTime, new { @class = "col-md-1 control-label" })
        <div class="col-md-10">
            @Html.DisplayFor(model => model.CreatedDateTime, new { @class = "form-control" })

        </div>
    </div>


    <div class="form-group">
        @Html.LabelFor(model => model.ParameterName, new { @class = "col-md-1 control-label" })
        <div class="col-md-10">
            @Html.TextBoxFor(model => model.ParameterName, new { @class = "form-control" })

        </div>
    </div>








    <p>
        <input type="submit" value="Create" class="btn btn-default" />
    </p>
</fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index", new { id = Model.IntegrationVersionID }, new { @class = "btn btn-info" })
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}